package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.SalaryPlanFormulaExample.E_COMPANY_ID;
import static org.jsola.hr.example.SalaryPlanFormulaExample.E_CONDITION_RELATION;
import static org.jsola.hr.example.SalaryPlanFormulaExample.E_FORMULA;
import static org.jsola.hr.example.SalaryPlanFormulaExample.E_SALARY_PLAN_ID;
import static org.jsola.hr.example.SalaryPlanFormulaExample.E_SORT;
import static org.jsola.hr.example.SalaryPlanFormulaExample.N_COMPANY_ID;
import static org.jsola.hr.example.SalaryPlanFormulaExample.N_CONDITION_RELATION;
import static org.jsola.hr.example.SalaryPlanFormulaExample.N_FORMULA;
import static org.jsola.hr.example.SalaryPlanFormulaExample.N_SALARY_PLAN_ID;
import static org.jsola.hr.example.SalaryPlanFormulaExample.N_SORT;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【工资方案计算公式及条件】列表展示对象")
@Data
public class SalaryPlanFormulaListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_SALARY_PLAN_ID, example = E_SALARY_PLAN_ID)
    private String salaryPlanId;

    @ApiModelProperty(notes = N_FORMULA, example = E_FORMULA)
    private String formula;

    @ApiModelProperty(notes = N_CONDITION_RELATION, example = E_CONDITION_RELATION)
    private Integer conditionRelation;

    @ApiModelProperty(notes = N_SORT, example = E_SORT)
    private Integer sort;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

